﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using VoteSystem.Services;

namespace VoteSystem.Controllers
{
    [SessionState(System.Web.SessionState.SessionStateBehavior.Disabled)]
    public class NoneSessionAjaxController : Controller
    {
        //
        // GET: /NoneSessionAjax/

        public VoteService voteService = new VoteService();
        public ActionResult QuerySelectedEmployeeId()
        {
            return Json(voteService.QuerySelectedEmployeeIds(), JsonRequestBehavior.AllowGet);
        }

    }
}
